package test4_1.demo01;

public class WorldCup {

    private int year;
    public String champion;

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public String getChampion() {
        return champion;
    }

    public void setChampion(String champion) {
        this.champion = champion;
    }

    public WorldCup(int year, String champion) {
        this.year = year;
        this.champion = champion;
    }
}
